<%@page import="controllers.AdoptionConnect"%>
<%@ page import="controllers.SolutionConnect" %>
<%@ page import="controllers.RecommendConnect" %>
<%@ page import="java.util.List, java.util.HashMap" %>
<%@ page import = "java.util.Date" %>
<%@ page import="com.google.appengine.api.blobstore.BlobInfo, com.google.appengine.api.blobstore.BlobInfoFactory, com.google.appengine.api.blobstore.BlobKey" %>
<%@ page import="com.google.appengine.api.blobstore.BlobstoreService, com.google.appengine.api.blobstore.BlobstoreServiceFactory, com.google.appengine.api.datastore.DatastoreServiceFactory" %>  



<%
	String sAdtID = (String) request.getAttribute("adopt_id");
	if ( sAdtID == null ) sAdtID =  request.getParameter("adopt_id");		
	//CANNOT REDIRECT NOW..ITS TOO LATE FOR RESPONSE if ( sAdtID == null ) response.sendRedirect("/home.jsp");	

	Long AdtID = Long.parseLong( sAdtID );
	boolean isAdmin = (Boolean) pageContext.getAttribute("isADM", PageContext.PAGE_SCOPE);
	boolean isMPS = (Boolean) pageContext.getAttribute("isMPS", PageContext.PAGE_SCOPE);
	boolean isNOM = (Boolean) pageContext.getAttribute("isNOM", PageContext.PAGE_SCOPE);
	boolean isExpert = (Boolean) pageContext.getAttribute("isEXP", PageContext.PAGE_SCOPE);
	
	String useremail = (String) pageContext.getAttribute("USER_EMAILID", PageContext.PAGE_SCOPE);
	AdoptionConnect ADOPT = new AdoptionConnect();
	List<HashMap<String,Object>> rs = ADOPT.getQuery("adoptID", AdtID);
	//CANNOT REDIRECT NOW..THIS IS DONE IN HEAD PART. ITS TOO LATE FOR RESPONSE if ( rs == null || rs.size() <= 0){response.sendRedirect("/home.jsp");}
	

	//Extract all the values from the list
	String	adoptCode = (String) rs.get(0).get("adoptCode");
	Long	solID = (Long) rs.get(0).get("solID");
	String	solTitle = (String) rs.get(0).get("solTitle");
	
	Date	dtImplemented = (Date) rs.get(0).get("dtImplemented");
	String	adptTeamLead = (String) rs.get(0).get("adptTeamLead");
	String	adptMembers = (String) rs.get(0).get("adptMembers");
	String	adptOthersMembers = (String) rs.get(0).get("adptOthersMembers");
	String	Customer = (String) rs.get(0).get("Customer");
	String	Location = (String) rs.get(0).get("Location");
	String	processArea = (String) rs.get(0).get("processArea");	
	BlobKey	adptTeamPicKey = (BlobKey) rs.get(0).get("adptTeamPicKey");
	String teamPicKeyFileName = "";
	long teamPicKeySize = 0;

	if( adptTeamPicKey != null)
	{
		final BlobInfo blobInfo1 = new BlobInfoFactory().loadBlobInfo(adptTeamPicKey);
		teamPicKeyFileName = blobInfo1.getFilename();
		teamPicKeySize = blobInfo1.getSize();
	}
	
	String	easyRank = (String) rs.get(0).get("easyRank");
	
	int Rating = Integer.parseInt( (String) rs.get(0).get("easyRank"));
	String strRating = ""; 
	switch (Rating){
		case 1: strRating = "Difficult to implement"; break;
		case 2: strRating = "Somewhat easy to implement"; break;
		case 3: strRating = "Very easy to implement"; break;
	}	
	
	String	achievedType = (String) rs.get(0).get("achievedType");
	
	int PrimaryBenefit = Integer.parseInt( (String) rs.get(0).get("achievedType"));
	String strPrimaryBenefit = "";
	
	switch (PrimaryBenefit){
			case 1: strPrimaryBenefit = "Safety"; break;
			case 2: strPrimaryBenefit = "Quality"; break;
			case 3: strPrimaryBenefit = "Order Lead Time"; break;
			case 4: strPrimaryBenefit = "Annual Production saving"; break;
			case 5: strPrimaryBenefit = "Annual Material saving"; break;
			case 6: strPrimaryBenefit = "Customer satisfaction"; break;
			case 7: strPrimaryBenefit = "Employee engagement"; break;					
	}
	
	
	String	achievedValue = (String) rs.get(0).get("achievedValue");
	String	achievedUnits = (String) rs.get(0).get("achievedUnits");
	float	hardSavings = (Float) rs.get(0).get("hardSavings");
	float	costAvoidance = (Float) rs.get(0).get("costAvoidance");
	float	oppurtunityCost = (Float) rs.get(0).get("oppurtunityCost");
	float totalCost = hardSavings + costAvoidance + oppurtunityCost;   
	float	impDays = (Float) rs.get(0).get("impDays");
	BlobKey	attachKey = (BlobKey) rs.get(0).get("attachKey");
	String attachKeyFileName = "";
	long attachKeySize = 0;

	if( attachKey!= null )
	{
		final BlobInfo blobInfo = new BlobInfoFactory().loadBlobInfo(attachKey);
		attachKeyFileName = blobInfo.getFilename();
		attachKeySize = blobInfo.getSize();
	}
	
	String	Comment = (String) rs.get(0).get("Comment");
	String	submittedBY = (String) rs.get(0).get("submittedBY");
	Date	submittedON = (Date) rs.get(0).get("submittedON");
	String	modifiedBY = (String) rs.get(0).get("modifiedBY");
	Date	modifiedON = (Date) rs.get(0).get("modifiedON");

%>

<!-- content -->
<!--<a id="mainContent" name="mainContent"/>-->
<div id="lotusContent">
<!--<h1>Savvy Solutions</h1>
<div class="lotusDetails">The Global Operations Excellence collection of Savvy Solutions resulting in cost savings for the company</div>-->
<!-- View selector -->
<div class="lotusActionBar lotusBtnContainer">
<!-- Buttons -->

<!-- COMMENTED - NOT SURE WHY SOME WANT TO SUBMIT A DISPLAYED RECORD  
<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:Submitfeedback()"><b>Submit Results</b></a>
</span>
-->

<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:cancelsavvy()"><b>Close</b></a>
</span>
</div><input type="hidden" name="valFieldList" value="cmbCustomer,Customer,cmbProcessarea,Process Area,cmbSite,Location,dtDate,Implementation Date,namSolTL,Solution Team Lead,namSolTM,Team Members,taRating,Ease of implementation,chkBenefits,Check Benifits,taImpTime,Implementation Time" />
<fieldset style="width: 100%;">
<legend>Adoption Results  <%=adoptCode%></legend>
<!--<div id="appBar"><div id="barDown"></div></div>-->
<!--<hr/>-->
<br>
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
				<tr>
			<td width="30%" class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Date Implemented: </span></td>
<td width="2%" class="h-fieldHeaderEdit-bgtext" valign="top"></td>
			<td width="30%" class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Solution Team Lead: </td>
<td width="2%" class="h-fieldHeaderEdit-bgtext" valign="top"></td>
			
		</tr>
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
		<tr class="h-edit-bg">
			
			<td width="30%" class="h-fieldEdit-text">
			<%=dtImplemented %>
&nbsp;&nbsp;
			
			</td>
				<td><img height="1" border="0" width="1" src="/img/transparent.gif"/></td>
			<td width="30%" class="h-fieldEdit-text"><%=adptTeamLead %>
			&nbsp;<!--  <A HREF="javascript:getSingleName('namSolTL', '')"><img src=/global\collaboration\SavvySol.nsf/ic2.gif width="17" height="18" border="0">-->			
			</td>	
				<td><img height="1" border="0" width="1" src="/img/transparent.gif"/></td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
 
 
 
<!-- copied from here to.... -->
 
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td width="40%" class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Customer: </span></td>
			<td width="40%" class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Team Members: </span></td>
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
		<tr class="h-edit-bg">
<td>
<table cellspacing="0" cellpadding="1" border="1" width="100%">
		<tr>
			<td width="40%" class="h-fieldEdit-text" valign="top"><%=Customer %></td>
</tr>
<tr>
			<td class="h-fieldHeaderEdit-bgtext"><img height="1" border="0" width="10"  src="/img/transparent.gif"/>
			</td></tr>
 
<tr>
<td width="40%"class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Location:</span></td>	
</tr>
<tr>
			<td class="h-fieldHeaderEdit-bgtext"><img height="1" border="0" width="10" 				
 
src="/img/transparent.gif"/>
			</td></tr>
 
<tr>
<td width="40%" class="h-fieldEdit-text" valign="top">
			<%=Location %>
			</td>
</tr>
</table></td>
			
 
			<td width="40%" class="h-fieldEdit-text">
			<%=adptMembers %>
			</td>
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
 
 
 
 
 
<!-- Till Here -->
 
 
<table cellspacing="0" cellpadding="1" border="1" width="100%">
	<tbody>
		
		<tr>
			<td width="40%"class="h-fieldHeaderEdit-bgtext"><span class="Red10">*</span><span class="frm-label">Process Area:</span></td>
			
			<td width="40%" class="h-fieldHeaderEdit-bgtext"><span class="Red10"></span><span class="frm-label">Other Team Members:</span></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg" valign="top">
			<td>																																				
<table cellspacing="0" cellpadding="1" border="1" width="100%">
	<tbody>
<tr>
			<td width="40%" class="h-fieldEdit-text" valign="top">
			<%=processArea %>
</td>
</tr>
																	<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
					
			</tbody>
</table>			
			</td>
			
			<td width="40%" class="h-fieldEdit-text" valign="top">
		           	<%=adptOthersMembers%>
			</td>
			
			
		</tr>
			</tbody>
</table>
<br>
<br>
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
				<tr>
			<td width="30%" class="h-fieldHeaderEdit-bgtext"><span class="Red10"></span><span class="frm-label"></span></td>
			<td width="40%" class="h-fieldHeaderEdit-bgtext"><span class="Red10"></span><span class="frm-label">Optional: Upload a team photo:</td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
		<tr class="h-edit-bg">
			
			<td width="30%" class="h-fieldHeaderEdit-bgtext"><span class="Red10"></span><span class="frm-label"></span></td>
				<td width="40%" class="h-fieldEdit-text" valign="top">
				<% if (adptTeamPicKey != null && !adptTeamPicKey.getKeyString().equals("")) { %>
		           	&nbsp; <img  src='/blobserve?blob-key=<% out.println( adptTeamPicKey.getKeyString() ); %>' width='100px' height='100px' id="photoimg" />
 				<%} else { %>
 						&nbsp;<img  src="/img/Team1.gif" width='100px' height='100px'  id="photoimg"/>
				<% } %> 						
		           	
			</td>
				</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
<p><table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="Red10">*</span><span class="steptxt"></span><span class="frm-label">How easy was this solution to implement?</span></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			<td width="97%" class="h-fieldEdit-text">
				<%=strRating %>
			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
<p><table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="Red10">*</span><span class="frm-label">Achieved Benefit:</span>
	</td>
		<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			<td width="97%" class="h-fieldEdit-text">
				<table class="sampletd">
				<tr>
				<td>
					<%=strPrimaryBenefit %>
					
					<% if (strPrimaryBenefit.equals("Order Lead Time")) { %>					
						<span id="chkdays"><%=achievedValue%>&nbsp;&nbsp;(In Days)</span>				
	
					<% } else if (strPrimaryBenefit.equals("Quality")) { %>
						<span id="chkquality" >&nbsp;&nbsp;<%=achievedValue%></span>&nbsp;&nbsp;<span id="chkdays"><%=achievedUnits%></span>
					<% } %>	
					
					</td></tr>
				</table>
			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
<p><table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="Red10">*</span><span class="frm-label">Financial Benefit:</span>
</td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			<td width="97%" class="h-fieldEdit-text">
				<table class="sampletd">
				<tr>
<table>
<tr><td>Hard Savings : <%=hardSavings %> ($USD)</td></tr>
<tr><td>Cost Avoidance : <%=costAvoidance %> ($USD)</td></tr>
<tr><td>Opportunity Cost : <%=oppurtunityCost %> ($USD)</td></tr>
</table>
 
				<td>
				</td>
				</tr>
				</table>
			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
 
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody><tr><td class="h-fieldHeaderEdit-bgtext">
			<span class="frm-label" align="center">Total Annual Production Savings:  <%=totalCost %>&nbsp;($USD)</span></td></tr>
</tbody></table>
 
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody><tr><td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="frm-label">
<br>
 
<script language="JavaScript" type="text/javascript"> 
<!-- 
function _dSectionExpand(sec) {
	 document.getElementById("cSec"+sec).style.display = "none";
	 document.getElementById("xSec"+sec).style.display = "block";
}
function _dSectionCollapse(sec) {
	 document.getElementById("xSec"+sec).style.display = "none";
	 document.getElementById("cSec"+sec).style.display = "block";
}
// -->
</script>
<div id="cSec1"><a href="javascript:_dSectionExpand('1')" onclick="return _dSectionExpand('1');"><img src="/img/expand.gif" border="0" alt="Show details for Definition of the categories:"></a><a onclick="return _dSectionExpand('1');"><b><u><font face="Arial">Definition of the categories:</font></u></b></a></div><div id="xSec1"><a href="javascript:_dSectionCollapse('1')" onclick="return _dSectionCollapse('1');"><img src="/img/collapse.gif" border="0" alt="Hide details for Definition of the categories:"></a><a onclick="return _dSectionCollapse('1');"></a><br>
<b><u><font face="Arial">Definition of the categories:</font></u></b><br>
<br>
<b><font face="Arial">1) Hard savings</font></b><font face="Arial"> (Scrap reduction, IDM Usage Reduction, Head Count reduction, Indirect Production Reduction)</font><br>
<b><font face="Arial">2) Cost avoidance</font></b><font face="Arial"> (Quality Improvement, Expenses prevention, Capital Spending Avoidance)</font><br>
<b><font face="Arial">3) Opportunity costs</font></b><font face="Arial"> (Process Cycle time reduction, Set-up Time Reduction, System/productivity Improvement)</font></div>
<script language="JavaScript" type="text/javascript"> 
<!-- 
_dSectionCollapse('1');
// -->
</script>
 
 
</span>
</td></tr></tbody></table><br>
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="Red10">*</span><span class="steptxt"></span><span class="frm-label">How many days did it take to implement this solution into the factory?</span></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			<td width="97%" class="h-fieldEdit-text">
				<%=impDays %>
			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
	</tbody>
</table>
 
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
			<span class="frm-label">Attachment(s)<br>Optional: Upload an attachment</span></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			
			<td width="97%" class="h-fieldEdit-text">
				 <img src="/img/vwicn005.gif">
				 
					<% if ( attachKey!= null && !attachKey.equals("") ) { %>
						<a href="/blobserve?blob-key=<%=attachKey.getKeyString()%>" target=_blank><%=attachKeyFileName%></a> - <%=attachKeySize%>(Kbytes)<br><br>
					
					<%} else { %>
					<br><br>
					<%} %>
			
				  			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
 
 
<table cellspacing="0" cellpadding="1" border="0" width="100%">
	<tbody>
		<tr>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
			<td class="h-fieldHeaderEdit-bgtext">
				<img height="1" border="0" width="10" src="/img/transparent.gif"/>
			</td>
 
		</tr>
 
		<tr>
 
			<td width="97%" class="h-fieldHeaderEdit-bgtext">
 
 
			<span class="Red10"></span><span class="steptxt"></span><span class="frm-label">Comment on this solution:</span></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			<td class="h-fieldHeaderEdit-bgtext"  align="right" valign="top"></td>
			
		</tr>
 
		<tr class="h-edit-bg">
			<td colspan="3">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
 
		<tr class="h-edit-bg">
			
			<td width="97%" class="h-fieldEdit-text">
 				<%=Comment %>
				
			</td>
			<td>
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			<td class="h-edit-bg" align="right" valign="top">
				<img height="1" border="0" width="1" src="/img/transparent.gif"/>
			</td>
			
		</tr>
		<tr class="h-edit-bg">
			<td height="8" width="3%" colspan="3">
				<img height="4" border="0" width="1" src="/img/transparent.gif"/>
			</td>
		</tr>
 
	</tbody>
</table>
</fieldset>
<br>

<!--  
<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:Submitfeedback()"><b>Submit Results</b></a>
</span>
-->

<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="javascript:cancelsavvy()"><b>Close</b></a>
</span>
<p></div>
<!--End of Lotus Content-->
</div>
<!--End of Lotus Main-->
</div>
 
 
<!-- Footer gets moved to within Frame div in weblog.vm so closing tags need to go in weblog.vm - MTodd November 1 2007 </body> </html> -->
</div>
 
</div>
 
 
<div id="dd"  style="display:none" >
<input type="button" value="Submit-SavvySolution" id="btnSubmitIdeaGenerator" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.15E', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Save-SavvySolution" id="btnSaveIdeaGenerator" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.2F4', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Delete-DraftSolution" id="btnDeletesavvysolution" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.466', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Save-SavvySolution-Admin" id="btnSaveIdeaGeneratoradmin" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.59E', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Submit-Feedback" id="btnSubmitfeedbackGenerator" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.6FE', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Submit-FeedbackP" id="btnSubmitfeedbackPGenerator" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.86C', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Post-Feedback" id="btnCommFeedback" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.9DC', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Accept-Manager" id="btnAcceptMgr" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.B04', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Reject Mgr" id="btnRejectMgr" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.C56', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Accept-Expert" id="btnAcceptExpert" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.DA4', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Reject Expert" id="btnRejectExpert" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.EFC', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Edit" id="btnEditdoc" onclick="window.open('/global/collaboration/SavvySol.nsf/0/5c70d2932670f373482578cd00390f8e?EditDocument', document._domino_target);"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Add Basket" id="btnAddBasket" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.115E', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Remove from Basket" id="btnRemoveBasket" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.1286', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Submit-Feedback to super user" id="btnSubmitSubmitFeedbacktosuperuser" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.13C0', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Add Pick" id="btnAddPick" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.1514', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Remove from Pick" id="btnRemovePick" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.163A', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Add MPS" id="btnAddmps" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.1770', this, null)"></div>
<div id="dd"  style="display:none" >
<input type="button" value="Remove MPS" id="btnRemoveMPS" onclick="return _doClick('8525763300404431.d91bd37116572efb85257609005f2620/$Body/0.18B4', this, null)"></div>
 
<br>
 
<input name="Remote_User" type="hidden" value="Anonymous">
<input name="Path" type="hidden" value="">
<input name="HTTP_Cookie" type="hidden" value="totalDocsrecommsols=2448; forums_opscntrl_u=1; forums_opscntrl_k=; forums_opscntrl_sid=fe6f36f140da3a1e936ec71947489177; __utma=88700297.1164472595.1291797280.1291797280.1304264664.2; __utmz=88700297.1304264664.2.2.utmccn=(referral)|utmcsr=jpapp1.asia.ad.celestica.com|utmcct=/comm/global/global.nsf|utmcmd=referral; redirectto=/global/collaboration/SavvySol.nsf/frmWhoAdaptedSol%3FOpenForm%26login; LtpaToken=dqZKZHEvblk7b4Y0Tes+YHhR4LfBuM+LOJbddW+AXgbNfXaSOwcIGqc8xYOYxNOMnOo60AeDiCn3mns4tFeTcHfbpJFZEEvYETP8AYncRz8rhc4X4Ss4R9oZm5cildmzgPj8kgR2js2f6u4xqFMWmNBLWNi8Py/croe/OWp/S0JKBTaVGeHvBT/1ECHvGkLEugi+Mty0WD2OqyTCelufpfaC3hX9sqE/ErftG5H5As+DpF7+o58mUlrZlPQZj/HfarwxOtLHUxBRNqq9qDP15r04rRcDr21U+tpJCetWuDD//7JqJaocqnCmN09HUIvrdeWf54f8CYhTT0twa87vwA==">
<input name="$V2AttachmentOptions" type="hidden" value="0">
<input name="SolRequestor" type="hidden" value="Toshimasa Umetsu/JP/Asia/Celestica">
<input name="DocID" type="hidden" value="">
<input name="Query_String" type="hidden" value="openform&amp;~2DFE35825C5DDAE10525784500149C6B~">
<input name="Parentdocunid" type="hidden" value="2DFE35825C5DDAE10525784500149C6B">
<input name="txtUser" type="hidden" value="CN=Toshimasa Umetsu/OU=JP/OU=Asia/O=Celestica">
<input name="lastnum" type="hidden" value="346">
<input name="cmbSolRegion" type="hidden" value="Pacific Rim">
<input name="cmbSolSiteID" type="hidden" value="CJM">
<input name="HTTP_Referer" type="hidden" value="http://opscentral.asia.ad.celestica.com/global/collaboration/SavvySol.nsf/frmMostSuccessAdaptedSol?openForm&amp;2DFE35825C5DDAE10525784500149C6B">
<input name="seqnum" type="hidden" value="CJM00346">
<input name="photodocid" type="hidden" value="">
<input name="dbName" type="hidden" value="global/collaboration/SavvySol.nsf">
<input name="FieldStatus" type="hidden" value="Draft">
<input name="QuickSearch" type="hidden" value="0">
<input name="UserProfileInfo" type="hidden" value="228FA6A7EC1947F68525761C007DBBBE~343F8D250406B9AE4825765D0030E185~ED98A18C66569865492577C7001B96F9~165B3D07B97E9BA3492578290017C53F~2DFE35825C5DDAE10525784500149C6B^Test Solution2~ELM Watch Tower SMT Flip Flop process~Elimination of use of disposable/consumable materials~Apply Cell Solder MC for the wider area of production~Optimize the material flow for Diebold AFD^12~0~0~0~0^5~0~0~0~0">
<input name="txtProfileUNID" type="hidden" value="">
<input name="SearchQuery" type="hidden" value="Search...">
<input name="dtDate" type="hidden" value="07/08/2011">
<input name="namSolTL" type="hidden" value="Yuta Fujiwara/JP/Asia/Celestica">
<input name="cmbCustomer" type="hidden" value="NEC">
<input name="cmbSite" type="hidden" value="Miyagi">
<input name="namSolTM" type="hidden" value="Hideaki Chiba/JP/Asia/Celestica, Mitsuhiro Hoshi/JP/Asia/Celestica, Shinji Nozaki/JP/Asia/Celestica">
<input name="cmbProcessarea" type="hidden" value="Kitting/Materials Replenishment">
<input name="namSolOtherTM" type="hidden" value="">
<input name="taRating" type="hidden" value="<%=Rating%>">
<input name="chkBenefits" type="hidden" value="<%=PrimaryBenefit%>">
<input name="taQuality" type="hidden" value="">
<input name="cmbQualityOptions" type="hidden" value="--Select--">
<input name="taDays" type="hidden" value="1">
<input name="FinanBenefits" type="hidden" value="">
<input name="HardSavings" type="hidden" value="">
<input name="CostAvoid" type="hidden" value="">
<input name="OpporCost" type="hidden" value="">
<input name="TotAnnualProd" type="hidden" value="0">
<input name="taImpTime" type="hidden" value="">